#include "shape.h"


Shape::Shape()
{
    m_shape_pro_ == NULL;
}

Shape::Shape(const Shape& shape)
{
    this->m_shape_pro_ = new ShapePro(*shape.m_shape_pro_);
    this->t_array_ = shape.t_array_;
}

Shape::~Shape()
{
    if(m_shape_pro_ != NULL)
    {
       delete m_shape_pro_;
       m_shape_pro_ == NULL;
    }
}

ShapePro* Shape::GetShapePro() const
{
    return m_shape_pro_;
}

void Shape::SetShapePro(ShapePro* shapepro)
{
    m_shape_pro_ = shapepro;
}
vector<TextFrame *> Shape::GetArray() const
{
    return t_array_;
}

